package com.example.weblending.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.weblending.domain.ApplyUnset;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.weblending.domain.User;

/**
 *
 */
public interface ApplyUnsetService extends IService<ApplyUnset> {

    void disable(int uid);

    boolean apply(ApplyUnset applyUnset);

    boolean reset(ApplyUnset applyUnset, User operator);

    Page<ApplyUnset> getListyId(long page, long limit, User user);

    Page<ApplyUnset> getHistoryId(long page, long limit, User user);

    int getNum(User user,boolean finish);
}
